﻿@model IEnumerable<EasyErp.Domain.BaseRateInfo>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            JobClass
        </th>
        <th>
            HourlyRate
        </th>
        <th>
            EffectiveDate
        </th>
        <th>
            Status
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.JobClass)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.HourlyRate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EffectiveDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Status)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.BaseRateId }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.BaseRateId })
        </td>
    </tr>
}

</table>
